package com.jiguang.property.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author testjava
 * @since 2025-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UpkeepInfo对象", description="")
public class UpkeepInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "维修标题")
    private String title;

    @ApiModelProperty(value = "维修问题描述")
    private String description;

    @ApiModelProperty(value = "上报人ID")
    private String reporterId;

    @ApiModelProperty(value = "房屋ID")
    private String hostelId;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


    @ApiModelProperty(value = "0:待处理，1:处理中，2:待支付，3:已完成")
    private Integer status;

    @ApiModelProperty(value = "预约开始时间")
    private String prebookStartTime;

    @ApiModelProperty(value = "预约结束时间")
    private String prebookEndTime;

    @ApiModelProperty(value = "上报图片")
    private String reporterImage;

    @ApiModelProperty(value = "维修人ID")
    private String upkeepId;

    @ApiModelProperty(value = "维修图片")
    private String upkeepImage;

    @ApiModelProperty(value = "价格")
    private Double price;

    @ApiModelProperty(value = "支付方式（0：线上，1：线下）")
    private Integer payWay;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty("删除标识")
    @TableLogic
    private Integer isDelete = 0;


}
